﻿using Dyao.Book.Contract;

namespace Dyao.Book.Application.Abstractions
{
    public interface ISpiderApplication
    {
        /// <summary>
        /// 添加爬虫日志
        /// </summary>
        /// <param name="spiderLogDtos">同步日志</param>
        /// <param name="cancellationToken">取消令牌</param>
        /// <returns></returns>
        Task AddLogsAsync(List<OperationLogDto> spiderLogDtos, CancellationToken cancellationToken = default);
    }
}
